
package com.intretech.umsin.demo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.intretech.umsin.demo.entity.OrderEntity;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
* @version V1.0
* 订单:order 对应数据访问接口.
* @InterfaceName: OrderMapper
* @Description: 订单:order 对应数据访问接口.
* @author: 李启联
* @date:   2022-5-28 23:00:30
* @Copyright: Copyright (c) 2022
*/

public interface OrderMapper extends BaseMapper<OrderEntity> {

    @Select("select * from `order` where id = #{id}")
    public List<OrderEntity> selectOrderById(String id);
}

